.class Lcom/waiqin365/lightapp/dailyreport/view/al;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/view/ak;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    if-eqz p1, :cond_2

    iget v0, p1, Landroid/os/Message;->arg1:I

    const/16 v1, 0x7d1

    if-ne v0, v1, :cond_5

    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x5

    if-ne v0, v1, :cond_2

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;->a()Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    const v2, 0x7f08012b

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->c(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/EditText;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->c(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/EditText;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->d(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/RatingBar;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->d(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/RatingBar;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e(Lcom/waiqin365/lightapp/dailyreport/view/ak;)I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/RatingBar;->setRating(F)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->f(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Lcom/waiqin365/lightapp/dailyreport/view/cn;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->f(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Lcom/waiqin365/lightapp/dailyreport/view/cn;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e(Lcom/waiqin365/lightapp/dailyreport/view/ak;)I

    move-result v1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/cn;->a(I)V

    :cond_2
    :goto_0
    return-void

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;->b:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->g(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setEnabled(Z)V

    const-string/jumbo v1, "1"

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;->f:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->f(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Lcom/waiqin365/lightapp/dailyreport/view/cn;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->f(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Lcom/waiqin365/lightapp/dailyreport/view/cn;

    move-result-object v0

    invoke-interface {v0}, Lcom/waiqin365/lightapp/dailyreport/view/cn;->a()V

    goto :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;->c:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/content/Context;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/al;->a:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->g(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setEnabled(Z)V

    goto :goto_0
.end method
